#!/bin/bash
echo "start copy imu.rules to  /etc/udev/rules.d/"
sudo cp ./_udev_/imu.rules  /etc/udev/rules.d
sudo udevadm trigger
sudo udevadm control --reload
echo " "
echo "Restarting udev"
echo " "
sudo service udev reload
sudo service udev restart
echo "finish "
echo "check it using the command : ls -l /dev|imu"
ls /dev/imu
